package org.song.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.apache.ibatis.type.Alias;
import org.song.model.dto.common.BaseSearchDto;

import java.util.Date;


@ApiModel("聊天组实体")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@Alias(value = "GroupChatDto")
public class GroupChatDto extends BaseSearchDto {

    @ApiModelProperty(value = "消息ID" , notes = "消息ID")
    private Long msgId;

    @ApiModelProperty(value = "用户ID" , notes = "用户ID")
    private Long uid;

    @ApiModelProperty(value = "内容" , notes = "内容")
    private String content;

    @ApiModelProperty(value = "发送消息时间" , notes = "发送消息时间")
    private Date createTime;

    @ApiModelProperty(value = "群聊ID" , notes = "群聊ID")
    private Long roomId;
}
